public abstract class Animal{
    private String color;
    private int age;

    public Animal(){
        
    }
    public Animal(String color,int age){
        this.color =color;
        this.age = age;
    }
    @Override
    public String toString(){
        return "[Animal]color:" + color + ",age:" + age;
    }
    public abstract void eat();
    public abstract void sleep();
}